package com.leadingsoft.pwxk.repository;

import java.util.List;

import org.springframework.data.jpa.repository.JpaRepository;
import org.springframework.data.querydsl.QuerydslPredicateExecutor;

import com.leadingsoft.pwxk.model.Announcement;

public interface AnnouncementRepository extends JpaRepository<Announcement, Long> ,QuerydslPredicateExecutor<Announcement>{

	List<Announcement> findTop7ByOrderByUpdateTimeDesc();
}
